/*
 * GPS_GPRS.c
 *
 * Created: 11/8/2013 10:18:22 PM
 *  Author: HP
 */ 

#include "define.h"

#include <avr/io.h>
#include <util/delay.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <stdint.h>
#include <stdio.h>
#include <avr/eeprom.h>
#include <avr/pgmspace.h>
#include "nokia_lcd.h"
//#include "introScreen.h"
//#include "createdBy.h"

char passKey[6];
uint8_t BTrecData[BT_DATA_LENGTH];
uint8_t idFlag=0;
uint8_t deurFlag=0;

int main(void)
{

    uint8_t ii;
		
	DDRB |= _BV(LED_1) ; // | _BV(LED_2);// | ~(_BV(OC_BTN)) | _BV(SVO_PIN);
	_delay_ms(100);
	nlcd_init();
	_delay_ms(100);
	_delay_ms(1000);
    nlcd_clear();

    nlcd_mchr(0);
	nlcd_str(" ");
	nlcd_mchr(1);
	nlcd_str(" ");
	nlcd_mchr(2);
	nlcd_str(" ");
	nlcd_mchr(3);
	nlcd_str(" ");
	nlcd_mchr(4);
	nlcd_str(" ");
	nlcd_mchr(5);
	nlcd_str(" ");
	nlcd_mchr(6);
	while(1)
    {
	Led1On();
	Led2On();
	_delay_ms(1000);
	Led1Off();
	Led2Off();
	_delay_ms(1000);
	}		
}